<h1>Login</h1>

<?php if($this->session->flashdata('sessions_login')) echo $this->session->flashdata('sessions_login'); ?>

<div id="cookies-warning">
	<h2>Sorry, GolderMarket's web interface can <br/>only work on a Cookies enabled browser.</h2>
	<p>You'll either need to enable Cookies on your browser or <br /> download a browser that allows you to enable Cookies.</p>
</div>

<form id="login-form" method="post" action="" class="loginForm">
	<table>	
		<tr id="form-item_login-status">
            <td colspan="2">
					<p class="error_descr"></p>
			</td>
        </tr>
	</table>
    <table class="logintable">
        <tr id="form-item_user">
        	<td>Login</td>
            <td width="150">
					<input type="text" class="text" id="user" name="user" maxlength="25" style="width: 98%;" />
					<p class="error_descr"></p>
			</td>
        </tr>
        <tr id="form-item_pass">
        	<td>Password</td>
            <td>
					<input type="password" class="text" id="pass" name="pass" maxlength="25" placeholder="Password" style="width: 98%;" />
					<p class="error_descr"></p>
			</td>
        </tr>
        <tr>
        	<td>&nbsp;</td>
            <td align="center"><input id="bt-login" type="submit" value="Login" style="width: 100%;" /></td>
        </tr>
    </table>
    
    <p><a id="registration" href="#">Registration</a></p>
    <div id="typeAccounts" style="display: none;">
        <div class="leftalign" style="margin-left: 10px;"><a href="<?=base_url()?>users/register_live/">Real account</a></div>
        <div class="leftalign" style="margin-left: 10px;"><a href="<?=base_url()?>users/register_demo/">Demo account</a></div>
        <div class="clear"></div>
    </div>
    <p><a href="/sessions/pass_reset/">Restore my password</a></p>
    <p>After the registration you will get access to additional options in your Personal area. </p> <p>If you forgot the password, you can restore it.</p>    
</form>
